﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace DataAccess
{
    public class ConnectDB
    {
        public static SqlConnection Getconnect()
        {
            string str = ConfigurationManager.ConnectionStrings["Connect"].ConnectionString;
            SqlConnection cn = new SqlConnection(str);
            return cn;
        }
        
    }
}
